package com.hoshiibuy.global.service;

import com.hoshiibuy.global.entity.SysRelationships;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.global.entity.SysRelationships;

/**
 * <p>
 * 关系全局表 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-27
 */
public interface SysRelationshipsService extends IService<SysRelationships> {

    SysRelationships getById(Long id);

    boolean save(SysRelationships entity);

    boolean updateById(SysRelationships entity);

    IPage<SysRelationships> page(IPage<SysRelationships> page, Wrapper<SysRelationships> queryWrapper);
}
